import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/views/index'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import HeQiaoQuYeMian from '@/views/HeQiaoQuYeMian/HeQiaoQuYeMian.vue'

Vue.use(ElementUI)
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: Index,
      redirect: '/HeQiaoQuYeMian'
    },
    {
      path: '/HeQiaoQuYeMian',
      name: 'HeQiaoQuYeMian',
      component: HeQiaoQuYeMian
    }
  ]
})
